package com.mp3s.dc.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "config")
public class XML {
    private String share_path;
    private String save_path;
    private String log_file;

    @XmlElement(name = "share_path")
    public String getSharePath() {
        return share_path;
    }

    public void setSharePath(String path) {
        this.share_path = path;
    }

    @XmlElement(name = "save_path")
    public String getSavePath() {
        return save_path;
    }

    public void setSavePath(String path) {
        this.save_path = path;
    }

    @XmlElement(name = "log_file")
    public String getLogFile() {
        return log_file;
    }

    public void setLogFile(String file) {
        this.log_file = file;
    }

    @Override
    public String toString() {
        return "Config{" +
                "share_path=" + share_path +
                ", save_path='" + save_path + '\'' +
                ", log_file='" + log_file + '\'' +
                '}';
    }
}
